package com.itcoon.cloud.framework.i18n.registry;


import com.itcoon.cloud.framework.i18n.bundle.Bundle;

import java.util.ArrayList;
import java.util.List;

public class BundleRegistry {

    private List<Bundle> bundles;

    public BundleRegistry() {
        this.bundles = new ArrayList<>();
    }

    public void register(Bundle bundle){
        bundles.add(bundle);
    }

    public List<Bundle> getBundles() {
        return bundles;
    }
}
